package com.log.blog_backend.utils;

import java.util.ArrayList;
import java.util.List;

public class CutStringByComma {
  public  static int index;

  public List<String> cut(String str){
       String[] split = str.split(",");
       List<String>list=new ArrayList<>();
       for(int i=0;i<split.length;i++){
           list.add(split[i]);
       }
       return list;
   }

}
